package thinkinjava.c15_generics.coffee;

/**
 * @Auther DRevelation
 * @Date 2020-05-11 上午 10:37
 * @Desc
 */
public class Coffee {
    private static long count = 0;
    private final long id = count++;
    @Override
    public String toString() {
        return getClass().getSimpleName() + " " + id;
    }
}
